package com.thread.synchromizedDemo;

/**
 * @Author milian
 * @Date 2021/7/28 0028 15:58
 */
public class test {
    public static void main(String[] args) {
        sellTicket st = new sellTicket();
        Thread t1 = new Thread(st, "窗口一");
        Thread t2 = new Thread(st, "窗口二");
        t1.start();
        t2.start();
    }
}
